package com.qys.livesMall.anchor.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 主播直播带货申请表
 * </p>
 *
 * @author wzy
 * @since 2023-06-20
 */
@Getter
@Setter
@TableName("h2_anchor_sell_lives_apply")
@Schema(name = "AnchorSellLivesApply", description = "主播直播带货申请表")
public class AnchorSellLivesApply implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "主播开播申请编号")
    @TableId(value = "id")
    private Long id;

    @Schema(description = "主播编号")
    private Long anchorId;

    @Schema(description = "主播名")
    private String anchorName;

    @Schema(description = "主播带货任务编号")
    private Long anchorSellTaskId;

//    @Schema(description = "状态：0：审核中  1：审核未通过   2：待开播   3:开播中  4：已开播完")
//    private Byte status;

    @Schema(description = "审批状态（0：审核中 1. 审核未通过   2:审核通过）")
    private Byte passFlag;

    @Schema(description = "申请开播时间")
    private LocalDate startLivesTime;

    @Schema(description = "申请时间")
    private LocalDateTime createTime;

    @Schema(description = "直播场次名称")
    private String livesSessionName;
}
